package com.jicheng.dto.task;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.Getter;
import lombok.Setter;

import java.io.Serializable;
import java.util.Date;

/**
 * @author: bright
 * @Date: 2020/5/7 11:43
 * @Description: 任务dto
 */
@Data
public class TaskDto implements Serializable {
    private static final long serialVersionUID = 935774817673462848L;
    @ApiModelProperty("任务id")
    private String id;
    @ApiModelProperty("期数")
    private String peroid;
    @ApiModelProperty("终端id")
    private String appId;
    @ApiModelProperty("终端用户")
    private String appUser;
    @ApiModelProperty("任务类型")
    private String missionType;
    @ApiModelProperty("任务名称")
    private String missionName;
    @ApiModelProperty("创建时间")
    @JsonFormat(pattern ="yyyy-MM-dd HH:mm:ss", timezone = "GMT+08:00")
    private Date createTime;
    @ApiModelProperty("办结时间")
    @JsonFormat(pattern ="yyyy-MM-dd HH:mm:ss", timezone = "GMT+08:00")
    private Date finishedTime;

}
